Page({
  data: {

  },
  handleClick() {
    const platform = my.getSystemInfoSync().platform
    console.log(platform)
    if (platform === 'iOS') {
      my.navigateTo({ url: `/pages/webview/index?targetUrl=${encodeURIComponent('http://192.168.221.251:8848/test/test.html')}` })
    } else {
      my.ap.openURL({url: `https://ds.alipay.com/error/redirectLink.htm?url=${encodeURIComponent('weixin://')}`})
    }
  }
})

